﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nova.Parsing.GoldParser.Semantic;
using Nova.Parsing.Tokens;

namespace Nova.Parsing.Constructs
{
    public sealed class OperandValueConstruct : VariableConstruct
    {
        private string m_OperandPropertyName;

        [Rule(@"<Operand Property> ::= '#' Identifier")]
        public OperandValueConstruct(IgnoredToken iA, Identifier propName)
        {
            m_OperandPropertyName = propName.Value.ToString();
        }

        public string OperandPropertyName
        {
            get { return m_OperandPropertyName; }
        }
    }
}
